package opera1;

import book.Book;
import book.BookList;

public class ShowOperation implements IOPeration {

    @Override
    public void work(BookList bookList) {

        int currentUsedsize = bookList.getUsedSize();

        for (int i = 0; i < currentUsedsize; i++) {
            Book book = bookList.getBook(i);
            System.out.println(book);
        }
    }
}
